/* wangeditor 富文本编辑器
------------------------------- */
.editor-container {
	z-index: 10; // 用于 wangeditor 点击全屏时
	.w-e-toolbar {
		border: 1px solid var(--el-border-color-light, #ebeef5) !important;
		border-bottom: 1px solid var(--el-border-color-light, #ebeef5) !important;
		border-top-left-radius: 3px;
		border-top-right-radius: 3px;
		z-index: 2 !important;
	}
	.w-e-text-container {
		border: 1px solid var(--el-border-color-light, #ebeef5) !important;
		border-top: none !important;
		border-bottom-left-radius: 3px;
		border-bottom-right-radius: 3px;
		z-index: 1 !important;
	}
}

[data-theme='dark'] {
	// textarea - css vars
	--w-e-textarea-bg-color: var(--el-color-white) !important;
	--w-e-textarea-color: var(--el-text-color-primary) !important;

	// toolbar - css vars
	--w-e-toolbar-color: var(--el-text-color-primary) !important;
	--w-e-toolbar-bg-color: var(--el-color-white) !important;
	--w-e-toolbar-active-color: var(--el-text-color-primary) !important;
	--w-e-toolbar-active-bg-color: var(--next-color-menu-hover) !important;
	--w-e-toolbar-border-color: var(--el-border-color-light, #ebeef5) !important;

	// modal - css vars
	--w-e-modal-button-bg-color: var(--el-color-primary) !important;
	--w-e-modal-button-border-color: var(--el-color-primary) !important;
}

/*cb add phone*/
.phone-container {
	width: 100%;
	height: 100vh;
	background-color: #ffffff;
	overflow-y: auto;
	div.top{
		width: 100%;
		height: 40px;
	}
	div.title{
		position: fixed;
		top: 0;
		left: 0;
		z-index: 100000000;
		width: 100%;
		height: 40px;
		line-height: 40px;
		background-color: #4396e8;
		color: #ffffff;
		text-align: center;
		font-size: 16px;
		letter-spacing: 1px;
		span{
			position: absolute;
			right: 5px;
		}
	}
	div.banner{
		width: 100%;
		height: 200px;
		img{
			width: 100%;
			height: 200px;
		}
	}
}

/*cb add*/
.body-container {
	:deep(.el-card__body) {
		display: flex;
		flex-direction: column;
		flex: 1;
		overflow: auto;
		.el-table {
			flex: 1;
		}
	}
}
table.mytable{
	width: 100%;
	border-collapse: collapse;
	margin: 0 auto;
	text-align: left;
	table-layout: fixed;
	font-size: 14px;
	td,
	th{
		border: 1px solid #cccccc;
		color: #333333;
		height: 30px;
		line-height: 30px;
		word-break: break-all;
		word-wrap: break-word;
		text-indent: 2px;
		padding: 3px;
	}
	th{
		background-color: #ffffff;
		font-weight: 800;
	}
	td{
		background:none;
	}
}
.tac{
	text-align: center;
}
.mt_5{
	margin-top: 5px;
}
.clearfix{}
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
	font-size:0;
}
.el-table tr.warning-row {
	--el-table-tr-bg-color: var(--el-color-warning-light-8);
}

@media print {
	@page  {
		size: auto;
	}
	body, html, div{
		height: auto !important;
	}
}
